package linwen.wang.sharding.enums;

/**
 * 订单状态
 *
 * @author explore
 * @since 2022/02/28 19:54
 **/
public enum OrderEnum {
    /**
     * 新订单
     */
    新订单(0, "新订单"), 配送中(1, "配送中"), 已完成(2, "已完成"), 已取消(3, "已取消");
    
    private final Integer value;
    private final String desc;
    
    OrderEnum(Integer value, String desc) {
        this.value = value;
        this.desc = desc;
    }
    
    public Integer getValue() {
        return value;
    }
    
    public String getDesc() {
        return desc;
    }
}
